package com.example.tests;


import org.testng.annotations.Test;


public class ContactCreationTestt extends TestBase {
	
		
  @Test
  public void testContactCreation() throws Exception {
	app.getNavigationHelper().openMainPage();
    app.getContactHelper().gotoAddContactPage();
    ContactDate contact = new ContactDate();
    contact.firstname1 = "Mary";
    contact.lastname1 = "Alex";
    contact.address1 = "Green st. 123-3";
    contact.hometel1 = "1-111-111111";
    contact.mobiltel1 = "2-222-222222";
    contact.bday1 = "4";
    contact.bmonth1 = "April";
    contact.byear1 = "1995";
    app.getContactHelper().fillContactForm(contact);
    app.getContactHelper().submitContactCreation();
    app.getContactHelper().returnToHomePage();
  }
}
